# max、min
ls = [1,22,34,24,19,34]

res = max(ls)
print(res)

ls1 = [{'a':10,'b':15},{'a':13,'b':78},{'a':9,'b':18},{'a':22,'b':19}]
res1 = max(ls1,key=lambda x : x['a'])
print(res1)